//
//  XDHabitData.m
//  XDEducation
//
//  Created by apple on 2017/4/13.
//  Copyright © 2017年 apple. All rights reserved.
//

#import "XDHabitData.h"

@implementation XDHabitData

+(NSMutableArray *)getHabitData{


    //1.轮播图
    NSMutableArray *bannerArr = [NSMutableArray array];
    //2.三好竞赛
    NSMutableArray *competitionArr = [NSMutableArray arrayWithObjects:
                                      @{@"itemName":@"学习竞赛",@"itemIcon":@"home_btn_study_competition_default"},
                                      @{@"itemName":@"趣味问答",@"itemIcon":@"home_btn_fun_quiz_default"},
                                      @{@"itemName":@"竞赛公告",@"itemIcon":@"home_btn_competition_announcement_default"},
                                      @{@"itemName":@"竞赛榜",@"itemIcon":@"home_btn_competition_list_default"},
                                      nil];
    //3.习惯天地
    NSMutableArray *habitArr = [NSMutableArray array];
    //4.习惯视频
    NSMutableArray *videoArr = [NSMutableArray array];
    
    
    //5.快乐阅读星
    NSMutableArray *readArr = [NSMutableArray arrayWithObjects:
                                      @{@"itemName":@"寓言故事",@"itemIcon":@"home_btn_fable_story_default"},
                                      @{@"itemName":@"优秀作文",@"itemIcon":@"home_btn_excellent_composition_default"},
                                      @{@"itemName":@"短篇小说",@"itemIcon":@"home_btn_short_story_default"},
                                      @{@"itemName":@"幽默笑话",@"itemIcon":@"home_btn_humorous_english_default"},
                                      @{@"itemName":@"有声阅读",@"itemIcon":@"home_btn_sound_reading_default"},
                                      @{@"itemName":@"我的长辈",@"itemIcon":@"home_btn_my_elders_default"},
                                      @{@"itemName":@"名人名家",@"itemIcon":@"home_btn_famous_celebrities_default"},
                                      @{@"itemName":@"漫画星空",@"itemIcon":@"home_btn_study_cartoon_star_default"},
                                      nil];
    
    
    
    
    //数据源
    NSMutableArray *habitData = [NSMutableArray arrayWithObjects:@{@"title":@"轮播图",@"item":bannerArr},
                                      @{@"title":@"三好竞赛",@"item":competitionArr},
                                      @{@"title":@"习惯天地",@"item":habitArr},
                                      @{@"title":@"习惯视频",@"item":videoArr},
                                      @{@"title":@"快乐阅读星",@"item":readArr},
                                      nil];
    
    return habitData;
    
}
@end
